	* {
	  margin: 0;
	  padding: 0;
	}

	div {
	  box-sizing: border-box;
	  width: 300px;
	  height: 280px;
	  margin: 100px auto;
	  text-align: center;
	  background-image: linear-gradient(#cecece, #8f8f8f);
	  font-size: 18px;
	  font-family: '楷体';
	  border-radius: 6px;
	}

	div .class1 {
	  background-color: cadetblue;
	  color: white;
	  border: 0;
	  cursor: pointer;
	  width: 50px;
	  height: 30px;
	  text-align: center;
	  line-height: 30px;
	}

	.class1:hover {
	  animation: shake .7s linear;
	  background-color: dodgerblue;
	}

	.header {
	  display: block;
	  height: 40px;
	  text-align: center;
	  line-height: 40px;
	  padding: 8px 0;
	  font-size: 22px;
	  background: -webkit-linear-gradient(-30deg, red 30px, orange 150px, yellow 280px, pink 500px, blue);
	  transition: 4s;
	  color: blue;
	}

	.header:hover {
	  background-position: 300px;
	  cursor: pointer;
	  color: green;
	}

	input {
	  width: 170px;
	  height: 25px;
	  text-align: center;
	  line-height: 25px;
	  margin-left: 10px;
	}

	.checkbox {
	  width: 15px;
	  height: 15px;
	  margin-left: 26px;
	}

	p {
	  margin: 20px 0;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	}

	span {
	  font-size: 14px;
	}

	@keyframes shake {
	  0% {
	    transform: translateX(0);
	  }

	  10% {
	    transform: translateX(-1px);
	  }

	  20% {
	    transform: translateX(2px);
	  }

	  30% {
	    transform: translateX(-4px);
	  }

	  40% {
	    transform: translateX(4px);
	  }

	  50% {
	    transform: translateX(-4px);
	  }

	  60% {
	    transform: translateX(4px);
	  }

	  70% {
	    transform: translateX(-4px);
	  }

	  80% {
	    transform: translateX(2px);
	  }

	  90% {
	    transform: translateX(-1px);
	  }

	  100% {
	    transform: translateX(0);
	  }
	}